/* Google Font Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins" , sans-serif;
}

.sidebar{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 78px;
  background: #2c2d44;
  padding: 6px 14px;
  z-index: 999;
  transition: all 0.5s ease;
}

.sidebar.open{
  width: 250px;
}

.sidebar .logo-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.sidebar .logo-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
}

.sidebar .logo-details .logo_name {
  color: #fff;
  font-size: 70px;
  opacity: 0;
  transition: all 0.5s ease;
  text-shadow: 0 0 5px rgb(0, 217, 255);
  font-family: 'Lightning';
  letter-spacing: 8px;
}

.sidebar .logo-details .web-name {
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: all 0.5s ease;
  text-shadow: 0 0 5px rgb(0, 217, 255);
  font-family: 'Tech';
}

#sep-sidebar-container {
  position: relative;
  padding-top: 10px;
  overflow: hidden;
}

#sep-sidebar-container::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #08b3d1 25%,
    transparent 50%,
    #08b3d1 75%,
    transparent 100%
  );
  background-size: 200% 100%; /* Double the background width for shimmer effect */
  animation: shimmer 2s linear infinite; /* Apply the animation */
}

@keyframes shimmer {
  0% {
    background-position: -200% 0; /* Start from the left */
  }
  100% {
    background-position: 200% 0; /* End on the right */
  }
}

.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name {
  opacity: 1;
}

.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .web-name {
  opacity: 1;
}

.sidebar .logo-details #btn{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}

.sidebar.open .logo-details #btn{
  text-align: right;
}


.sidebar .nav-list{
  margin-top: 20px;
  height: 100%;
}

.sidebar li{
  position: relative;
  margin: 8px 0;
  list-style: none;
}

.sidebar li .tooltip{
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}

.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar.open li .tooltip{
  display: none;
}

.sidebar input{
  font-size: 15px;
  color: #FFF;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  width: 50px;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: #1d1b31;
}

.sidebar.open input{
  padding: 0 20px 0 50px;
  width: 100%;
}

.sidebar .bx-search{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: #1d1b31;
  color: #FFF;
}

.sidebar.open .bx-search:hover{
  background: #1d1b31;
  color: #FFF;
}

.sidebar .bx-search:hover{
  background: #FFF;
  color: #11101d;
}

.sidebar li a {
  display: flex;
  place-items: center;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s ease;
}


.sidebar li a:hover{
  background: #205ea5;
}

.sidebar.open li a .links_name{
  opacity: 1;
  pointer-events: auto;
  margin-top: -10px;
}

.sidebar li a:hover .links_name{
  transition: all 0.2s ease;
  color: #ffffff;
}

.sidebar li.profile{
  position: fixed;
  height: 60px;
  width: 78px;
  left: 0;
  bottom: -8px;
  padding: 10px 14px;
  background: #1d1b31;
  transition: all 0.5s ease;
  overflow: hidden;
}

.sidebar.open li.profile{
  width: 250px;
}

.sidebar li .profile-details{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.sidebar li img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.sidebar li.profile .name,
.sidebar li.profile .job{
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

.sidebar li.profile .job{
  font-size: 12px;
}

.sidebar .profile #log_out{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #1d1b31;
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-radius: 0px;
  transition: all 0.5s ease;
}

.sidebar.open .profile #log_out{
  width: 50px;
  background: none;
}

.sidebar.open ~ .home-section{
  left: 250px;
  width: calc(100% - 250px);
}

.sidebar i{
  color: #fff;
  height: 60px;
  font-family: 'Lightning';
  min-width: 50px;
  font-size: 25px;
  text-align: center;
  line-height: 65px;
  text-shadow: 0 0 2px rgb(0, 217, 255);
}

.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  text-shadow: 0 0 5px rgb(0, 217, 255);
}

.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 22px;
  border-radius: 12px;
  text-shadow: 0 0 5px rgb(2, 217, 255);
}